/**
 * Created by IntelliJ IDEA.
 * User: manigandan
 * Date: 2/16/11
 * Time: 2:02 AM
 * To change this template use File | Settings | File Templates.
 */
public class Sandbox {
    public static void main(String args[]) {
        String str = "hi.there...good nice...1 boy...";
        str = "hottterrbbaaacc";
        System.out.println("str = " + TweetSplitter.trimRepetitions(str));
        str = "godddess";
        System.out.println("str = " + TweetSplitter.trimRepetitions(str));
        str = "twitteraaaaaaaaaaaaabbb";
        System.out.println("str = " + TweetSplitter.trimRepetitions(str));
        /*for (String s : str.split(TweetSplitter.regexp)) {
            System.out.println("s = " + s);
        }*/

    }
}
